package cst.a000wxb.fragment115wxb.fragment;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

import cst.a000wxb.fragment115wxb.R;


/**
 * Created by Bobx on 2017/5/26.
 */

public class WechatFriendFragment extends Fragment {
    private View view;
    private Context context;
    private TextView textView;



    @Override
    public View onCreateView(LayoutInflater inflater
            , ViewGroup container,
                             Bundle savedInstanceState) {

        context = getActivity();
        view = inflater.inflate(R.layout.wechatlaoutfriend,container,false);
        textView = (TextView)view.findViewById(R.id.weChatFriedntextView);
        textView.setText("Friend");

        Toast.makeText(context,"You Get A Friend",Toast.LENGTH_SHORT).show();

        return view;
    }

}
